package com.coment.message.roles;


import com.coment.message.RolesActionType;
import lombok.Data;
import lombok.ToString;

import java.util.Map;

@ToString
@Data
public class RolesActionMessage {
    /// 用户id
    private final Integer userInfoId;
    /// 角色id
    private final String rolesId;
    /// 卡片id
    private final Integer cardId;
    /// 行为类型 {@link RolesActionType }
    private Integer type;

    /// 体力
    public Integer strength;

    private String message;

    /// 属性
    public Map<Integer, Double> attrs;

    /// 洞府id
    private String dongFuId;

    /// 称号
    private String title;


    public RolesActionMessage(
            Integer userInfoId,
            String rolesId,
            Integer cardId,
            Integer type
    ) {
        this.userInfoId = userInfoId;
        this.rolesId = rolesId;
        this.cardId = cardId;
        this.type = type;
    }
}
